﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
   

</head>
<body style="height:1200px;">
    
    <form id="form1" runat="server">
     <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
   
    </asp:ScriptManager>
       <asp:TextBox ID="txtFriendName" runat="server" 
                            Width="350px"
                            
                            ></asp:TextBox>
                            
                            <ajaxToolkit:AutoCompleteExtender 
    runat="server" 
    ID="autoComplete1" 
    TargetControlID="txtFriendName"
    ServicePath="~/Service/Sugestions.asmx"
    ServiceMethod="GetFriendsList"     
    MinimumPrefixLength="1" 
    CompletionInterval="300"
    EnableCaching="true"
    CompletionSetCount="20"    
    ShowOnlyCurrentWordInCompletionListItem="true" UseContextKey="true">       
</ajaxToolkit:AutoCompleteExtender>



                            
                         
    
    </form>
</body>
</html>
